package cn.autumnorange.app.scheduletask.provider.entity;

import cn.autumnorange.app.common.entity.AbstractPersistable;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Entity
@Table(name = "cron")
public class CronEntity extends AbstractPersistable {
  private String cron;

  @Basic
  @Column(name = "cron", nullable = true, length = 30)
  public String getCron() {
    return cron;
  }

  public void setCron(String cron) {
    this.cron = cron;
  }
}
